package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IWgtsResetPasswordActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.resp.CurrentEntity;

/*
 *   author:handsome
 *   data:2018/11/717:32
 *   packeage:${PAKAGE_NAME}
 *
 */public class WgtsResetPasswordActivityModel implements IWgtsResetPasswordActivityModel {

     private NetService netService;

    public WgtsResetPasswordActivityModel(NetService netService) {
        this.netService = netService;
    }


    @Override
    public void resetPassword(String password, String confirmPassword, String smsCode, String phone,
                              HttpResultSubscriber<CurrentEntity> subscriber) {
        netService.resetPassword(password, confirmPassword, smsCode, phone, subscriber);
    }
}
